WT_DECLARE_WT_MEMBER(10,JavaScriptFunction,"toolTip",function(l,m,n,s,t,u){var c=$("#"+m),d=c.get(0),o=l.WT,g=d.toolTip;if(!g)d.toolTip=new (function(){function v(){$("#"+m+":hover").length||p()}function w(){h=true;l.emit(d,"Wt-loadToolTip")}function p(){clearTimeout(e);setTimeout(function(){if(!i)if(a){$(a).parent().remove();a=null;clearInterval(j);j=null}},x)}function q(b){clearTimeout(e);k=o.pageCoordinates(b);a||(e=setTimeout(function(){d.toolTip.showToolTip()},y))}var e=null,j=null,k=null,a=
null,y=500,x=200,h=false,f=n,i=false;this.setToolTipText=function(b){f=b;if(h){this.showToolTip();clearTimeout(e);waitingforText=false}};this.showToolTip=function(){s&&!f&&!h&&w();if(f){a=document.createElement("div");a.className=t;a.innerHTML=f;outerDiv=document.createElement("div");outerDiv.className=u;document.body.appendChild(outerDiv);outerDiv.appendChild(a);var b=k.x,r=k.y;o.fitToWindow(outerDiv,b+10,r+10,b-10,r-10);$(a).mouseenter(function(){i=true});$(a).mouseleave(function(){i=false})}j=
setInterval(function(){v()},200)};c.mouseenter(q);c.mousemove(q);c.mouseleave(p)});g&&g.setToolTipText(n)});
